/*
* TheAppBidonTestFixture.cpp
*
*  Created on: 7 mars 2013
*      Author: CRMA
*/


#include "TestHarness.h"
#include "Bidon.h"

using namespace std;

class TheAppBidonTestFixtureSetup : public TestSetup
{
protected:
  std::string	_fixtureStr;
  Bidon 		  _bidon;

public:
  TheAppBidonTestFixtureSetup(){_bidon=Bidon();};
  virtual ~TheAppBidonTestFixtureSetup(){};
  void setup()
  {
    _bidon = Bidon(2, 3);
    std::cout << "TheAppBidonTestFixture Setup" << endl;
  }

  void teardown()
  {    
    std::cout << "TheAppBidonTestFixture TearDown" << endl;
  }


};



TESTWITHSETUP (TheAppBidonTestFixture,Test1)
{
  int r = _bidon.Step();
  //         expected  result
  CHECK_LONGS_EQUAL(2, r);
}
/*
TESTWITHSETUP (TheAppBidonTestFixture,Test2)
{
  int r = _bidon.Step();
  //         expected  result
  CHECK_LONGS_EQUAL(5, r);
}

*/
// eof

